package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2024/7/16 9:15
 * @Describe    :
 */
@Parcelize
class AppBaseListResponse(
    val list: ArrayList<BaseListBean> = arrayListOf(),
    val total: Int = 0
) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @Parcelize
    class BaseListBean(
        val baseId: Int = 0,
        val orderId: Int = 0,
        val endTime: String = "",
        val ruleFile: String = "",
        val saveCnt: Int = 0,
        val status: Int = 0,
        val statusLabel: String = "",
        val teamName: String = ""
    ) : Parcelable

}

